﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace PaperMaster.Chess.PieceSpace
{
    public class SamplePieceModel : PieceModelBase
    {
        public SamplePieceModel():base(Piece.SamplePiece)
        {
            
        }
    }

    public class SamplePieceController : PieceControllerBase
    {
        public SamplePieceController()
        {
            model = new SamplePieceModel();
        }
        public override void EndAct()
        {
            Forward();
            Attack();
            base.EndAct();
        }
    }

    public class SamplePiece : PieceViewController
    {
        protected override void Init()
        {
            controller = new SamplePieceController();
            base.Init();
        }
        private void Awake()
        {
            Init();
        }
        // Start is called before the first frame update
        void Start()
        {

        }

        // Update is called once per frame
        void Update()
        {
            base.FrameFun();
        }
    }
}
